{include file="header.tpl" title="Them moi <strong>Par_ssQuoteGrp</strong>"}
<form action="" method="post" target="_self" name="tongquat">
<table width="761" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td colspan="4"><table width="750" border="0">
    <tr>
      <td><input name="button2" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" /></td>
	  <td>&nbsp;</td>
	  <td>&nbsp;</td>
	  <td>
	    <div align="right">
	      <select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
			 {foreach from=$chuyentrang key=k item=v}
	        	<option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>    
 			{/foreach}
	        </select>
	      <input name="action2" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/>
	      </div></td></tr>
    <tr>
      <td width="130">{$lbl_QGRPCODE}</td>
      <td width="42">
        <input name="QGRPCODE" type="text" id="QGRPCODE" value="{$QGRPCODE}" size="7" maxlength="3" style="background:{$colorQGRPCODE}"  class="textright" />      </td><!--<input name="QGRPCODE" id="QGRPCODE" type="text" style="background:{$colorQGRPCODE}" id="QGRPCODE" value="{$QGRPCODE}" size="15" maxlength="3" onblur="formatNumber2(this,this.value,20,0);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright"/>-->
      <td width="108">{$lbl_VNDESC}</td>
      <td width="652"><input align="left" name="VNDESC" id="VNDESC" type="text" style="background:{$colorVNDESC}" value="{$VNDESC}" size="60" maxlength="50"></td>
    </tr>
  </table></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td width="145">{$lbl_TC1}</td>
    <td width="190" >{$lbl_NAME}
      <input name="QNAME01" id="QNAME01" type="text" value="{$QNAME01}" size="25" maxlength="50"    style="background:{$colorQNAME01}" /></td>
    <td width="198" >{$lbl_TYPE}
      <select id="QTYPE01" name="QTYPE01" size="1"  onchange="document.getElementById('find1').click();" {if $value1 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE01}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
		 
        <option value="{$k}" {if $QTYPE01 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find1" id="find1" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE01" value="{$QTYPE01}" />
    </td>
    <td width="221" >{$lbl_VALUE}
      <input name="QCODE01" id="QCODE01"  {if $activefield1 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} type="text"  value="{$QCODE01}" size="30" maxlength="50" {if $numberfield1 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE01}" ></td>
    </tr>  
  <tr>
    <td>{$lbl_TC2}</td>
    <td>{$lbl_NAME}
      <input name="QNAME02" id="QNAME02" type="text" value="{$QNAME02}" size="25" maxlength="50" style="background:{$colorQNAME02}" /></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE02" name="QTYPE02" size="1"  onchange="document.getElementById('find2').click();" {if $value2 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE02}">
          <option value=""/></option>
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE02 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find2" id="find2" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE02" value="{$QTYPE02}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE02" id="QCODE02" type="text" value="{$QCODE02}" size="30" maxlength="50"  {if $activefield2 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield2 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE02}" />
    </td>
    </tr>
 <tr>
   <td>{$lbl_TC3}</td>
   <td>{$lbl_NAME}
     <input name="QNAME03" id="QNAME03" type="text" value="{$QNAME03}" size="25" maxlength="50" style="background:{$colorQNAME03}" /></td>
   <td>{$lbl_TYPE}
     <select id="QTYPE03" name="QTYPE03" size="1"  onchange="document.getElementById('find3').click();" {if $value3 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE03}">
         <option value=""/></option>
       
 		{foreach from=$cbo_enabled key=k item=v}
       <option value="{$k}" {if $QTYPE03 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
       
 		{/foreach}
    
     </select>
       <input type="submit" name="find3" id="find3" value="" style="visibility:hidden"/>
       <input type="hidden" name="tmpQTYPE03" value="{$QTYPE03}" />
   </td>
   <td>{$lbl_VALUE}
     <input name="QCODE03" id="QCODE03" type="text"  value="{$QCODE03}" size="30" maxlength="50"  {if $activefield3 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield3 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE03}" /></td>
   </tr>
  <tr>
    <td height="23">{$lbl_TC4}</td>
    <td>{$lbl_NAME}
      <input name="QNAME04" id="QNAME04" type="text" value="{$QNAME04}" size="25" maxlength="50" style="background:{$colorQNAME04}"></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE04" name="QTYPE04" size="1"  onchange="document.getElementById('find4').click();" {if $value4 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE04}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE04 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find4" id="find4" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE04" value="{$QTYPE04}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE04" id="QCODE04" type="text"  value="{$QCODE04}" size="30" maxlength="50"  {if $activefield4 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield4 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE04}" >
    </td>
    </tr>
  <tr>
    <td>{$lbl_TC5}</td>
    <td>{$lbl_NAME}
      <input name="QNAME05" id="QNAME05" type="text" value="{$QNAME05}" size="25" maxlength="50" style="background:{$colorQNAME05}" /></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE05" name="QTYPE05" size="1"  onchange="document.getElementById('find5').click();" {if $value5 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE05}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE05 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}  
    
      </select>
        <input type="submit" name="find5" id="find5" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE05" value="{$QTYPE05}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE05" id="QCODE05" type="text"  value="{$QCODE05}" size="30" maxlength="50"  {if $activefield5 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield5 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE05}" /></td>
    </tr>
  <tr>
    <td>{$lbl_TC6}</td>
    <td>{$lbl_NAME}
      <input name="QNAME06" type="text" id="QNAME06" value="{$QNAME06}" size="25" maxlength="50" style="background:{$colorQNAME06}" /></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE06" name="QTYPE06" size="1"  onchange="document.getElementById('find6').click();" {if $value6 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE06}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE06 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
		{/foreach}
    
      </select>
        <input type="submit" name="find6" id="find6" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE06" value="{$QTYPE06}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE06" id="QCODE06" type="text"  value="{$QCODE06}" size="30" maxlength="50"  {if $activefield6 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield6 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE06}" >
    </td>
    </tr>
  <tr>
    <td>{$lbl_TC7}</td>
    <td>{$lbl_NAME}
      <input name="QNAME07" type="text" id="QNAME07" value="{$QNAME07}" size="25" maxlength="50" style="background:{$colorQNAME07}" /></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE07" name="QTYPE07" size="1"  onchange="document.getElementById('find7').click();" {if $value7 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE07}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE07 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find7" id="find7" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE07" value="{$QTYPE07}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE07" id="QCODE07" type="text"  value="{$QCODE07}" size="30" maxlength="50"  {if $activefield7 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield7 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE07}" >
    </td>
    </tr>
  <tr>
    <td>{$lbl_TC8}</td>
    <td>{$lbl_NAME}
      <input name="QNAME08" type="text" id="QNAME08" value="{$QNAME08}" size="25" maxlength="50" style="background:{$colorQNAME08}" /></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE08" name="QTYPE08" size="1"  onchange="document.getElementById('find8').click();" {if $value8 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE08}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE08 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find8" id="find8" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE08" value="{$QTYPE08}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE08" id="QCODE08" type="text"  value="{$QCODE08}" size="30" maxlength="50"  {if $activefield8 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield8 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE08}" >
    </td>
    </tr>
  <tr>
    <td>{$lbl_TC9}</td>
    <td>{$lbl_NAME}
      <input name="QNAME09" type="text" id="QNAME09" value="{$QNAME09}" size="25" maxlength="50" style="background:{$colorQNAME09}"></td>
    <td>{$lbl_TYPE}
      <select id="QTYPE09" name="QTYPE09" size="1"  onchange="document.getElementById('find9').click();" {if $value9 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE09}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
        <option value="{$k}" {if $QTYPE09 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find9" id="find9" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE09" value="{$QTYPE09}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE09" id="QCODE09" type="text"  value="{$QCODE09}" size="30" maxlength="50"  {if $activefield9 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield9 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE09}"/>
    </td>
    </tr>
  <tr>
    <td>{$lbl_TC10}</td>
    <td>{$lbl_NAME}
      <input name="QNAME10" type="text" id="QNAME10" value="{$QNAME10}" size="25" maxlength="50" style="background:{$colorQNAME10}" />
    </td>
    <td>{$lbl_TYPE}
      <select id="QTYPE10" name="QTYPE10" size="1"  onchange="document.getElementById('find10').click();" {if $value10 eq 'have'} disabled="disabled" {/if} style="background:{$colorQTYPE10}">
          <option value=""/></option>
        
 		{foreach from=$cbo_enabled key=k item=v}
		
        <option value="{$k}" {if $QTYPE10 eq  $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}
    
      </select>
        <input type="submit" name="find10" id="find10" value="" style="visibility:hidden"/>
        <input type="hidden" name="tmpQTYPE10" value="{$QTYPE10}" />
    </td>
    <td>{$lbl_VALUE}
      <input name="QCODE10" id="QCODE10" type="text"  value="{$QCODE10}" size="30" maxlength="50"    {if $activefield10 eq "enabled"} onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" {/if} {if $numberfield10 eq "enabled"} onkeypress="return numberOnly(event);" {/if} style="background:{$colorQCODE10}" /></td>
    </tr> 
<tr>    
    <td colspan="4"><div align="right">
      <input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </div>
	<td width="4">&nbsp;</td>
	<td width="3"></td>
    </tr>
<tr><td colspan="3" align="right"><div align="left">
  <input name="button" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" />
</div></td>
  <td align="right"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
    
    
 {foreach from=$chuyentrang key=k item=v}
      
    
    <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
    
    
 	{/foreach}

  
  </select>
  <input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/></td>
  </tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
